const TokenKey = 'user.token'
// 存储token
export const setToken = (token) => {
  localStorage.setItem(TokenKey, token);
};
// 获取token
export const getToken = () => {
  return localStorage.getItem(TokenKey);
};

// 清除本地存储的token
export const removeToken = () => {
  localStorage.removeItem(TokenKey);
}
